<div class="post">
	<div class="post_title">
		<h1 class="left">Admin Panel - Edit Configuration</h1>
		<div class="post_date right"><a href="?m=admin">(Back)</a></div>
		<div class="clearer">&nbsp;</div>
	</div>
	<div class="post_body">
		<form action="?m=admin&a=config" method="post">
			<h2>SMTP Options</h2>
			<p style="font-size: 80%"><strong>Note:</strong> If you don't know what it is - DO NOT set these options.</p>
			<table>
			<tr><td class="p"><strong>SMTP Mail:</strong></td> <td class="p"><input type="text" name="smtp_mail" value="{$config['smtp_mail']}" /></td></tr>
			<tr><td class="p"><strong>SMTP Host:</strong></td> <td class="p"><input type="text" name="smtp_host" value="{$config['smtp_host']}" /></td></tr>
			<tr><td class="p"><strong>SMTP Username:</strong></td> <td class="p"><input type="text" name="smtp_username" value="{$config['smtp_username']}" /></td></tr>
			<tr><td class="p"><strong>SMTP Password:</strong></td> <td class="p"><input type="text" name="smtp_password" value="{$config['smtp_password']}" /></td></tr>
			</table>
			<h2>Account Options:</h2>
			<table>
			<tr><td class="p"><strong>Unallowed names (separate by ":"):</strong></td> <td class="p"><textarea name="register_unallowed_names" style="width: 300px; height: 200px;">{$config['register_unallowed_names']}</textarea></td></tr>
			</table>
			<h2>Player Options:</h2>
			<table>
			<tr><td class="p"><strong>Startup town ID:</strong></td> <td class="p"><input type="text" name="register_startup_town" value="{$config['register_startup_town']}" /></td></tr>
			<tr><td class="p"><strong>GM Access:</strong></td> <td class="p"><input type="text" name="hs_gm_access" value="{$config['hs_gm_access']}" /></td></tr>
			<tr><td class="p"><strong>TOPxx Highscores (player limit):</strong></td> <td class="p"><input type="text" name="hs_players_limit" value="{$config['hs_players_limit']}" /></td></tr>
			</table>
			<h2>AAC Options:</h2>
			<table>
			<tr><td class="p"><strong>Admin dashboard text:</strong></td> <td class="p"><textarea name="admin_dashboard" style="width: 300px;">{$config['admin_dashboard']}</textarea></td></tr>
			<tr><td class="p"><strong>Home page text:</strong></td> <td class="p"><textarea name="homepage_text" style="width: 300px;">{$config['homepage_text']}</textarea></td></tr>
			</table>
			<br />
			<p>Save and <input type="image" src="view/deadtouch/img/button_go.gif" /></p>
		</form>
	</div>
	<div class="post_bottom"></div>
</div>